package message;

import static org.junit.Assert.*;

import org.junit.Test;

public class AuthenticationRequestMessageTest
{

	@Test
	public void testSetUsername()
	{
		AuthenticationRequestMessage message1 = new AuthenticationRequestMessage();
		AuthenticationRequestMessage message2 = new AuthenticationRequestMessage();
		
		message1.setUsername("User");
		message2.setUsername("User");
		message2.setUsername("asdf");
		
		assertEquals(message1, message2);
	}

	@Test
	public void testSetPassword()
	{
		AuthenticationRequestMessage message1 = new AuthenticationRequestMessage();
		AuthenticationRequestMessage message2 = new AuthenticationRequestMessage();
		
		message1.setUsername("Pass");
		message2.setUsername("Pass");
		message2.setUsername("asdf");
		
		assertEquals(message1, message2);
	}

}
